﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExpressHelps.Model
{
    public class Tasks
    {
        //Task类型的变量
        public int task_id { get; set; }
        public enum TaskType { Delivery, Takeout }
        //public string task_type { get; set;}
        //tasktype
        public TaskType task_type { get; set; }
        public string? task_description { get; set; }
        public int task_publisher_id { get; set; }
        public int? task_receiver_id { get; set; }
        public string task_address { get; set; }
        public DateTime task_publish_time { get; set; }
        public DateTime? task_receive_time { get; set; }
        public bool task_isreceiver { get; set; }
        public bool task_iscomplete { get; set; }        
        public int task_money { get; set; }
    }
}
